import { MessageElement } from "./MessageElement.js";
import * as styles from "./styles.js";

export default function () {
    document.adoptedStyleSheets.push(styles.sheet);

    const div = document.createElement("div");

    const msg = new MessageElement();
    msg.message = "Message";

    const msg1 = new MessageElement();

    const msg2 = new MessageElement();
    msg2.message = "Message 2";

    div.append(msg, msg1, msg2);
    return div;
}
